import static org.junit.Assert.*;

import java.util.Vector;

import org.junit.Test;


public class TestBank {

	
	/*
	 * public Bank(String name)
	+
	public int openSimpleCheckingAccount()

	
	public int openFullPackage()

	
	public boolean withdrawMoney(int accountNumber, double amount)
	 */
	@Test
	public void test() {
		Bank testBank1 = new Bank("testBank1");
		Bank testBank2 = new Bank("testBank2");
		Bank testBank3 = new Bank("testBank3");
		int bank1SimpleNum = testBank1.openSimpleCheckingAccount();
		int bank2SimpleNum = testBank2.openSimpleCheckingAccount();
		int bank3SimpleNum = testBank3.openSimpleCheckingAccount();
		int bank1FullNum = testBank1.openFullPackage();
		int bank2FullNum = testBank2.openFullPackage();
		int bank3FullNum = testBank3.openFullPackage();
//		assertTrue("tb1 openChckAcct not working", testBank1.openSimpleCheckingAccount() == 0);
//		assertTrue("tb2 openChckAcct not working", testBank2.openSimpleCheckingAccount() == 1);
//		assertTrue("tb3 openChckAcct not working", testBank3.openSimpleCheckingAccount() == 2);
//		
//		assertTrue("tb1 openFullPack not working", testBank1.openFullPackage() == 3);
//		assertTrue("tb2 openFullPack not working", testBank2.openFullPackage() == 4);
//		assertTrue("tb3 openFullPack not working", testBank3.openFullPackage() == 5);
		
		assertFalse("tb1 withdrawMoney not working", testBank1.withdrawMoney(bank1SimpleNum, 100));
		assertFalse("tb2 withdrawMoney not working", testBank2.withdrawMoney(bank2SimpleNum, 400));
		assertFalse("tb3 withdrawMoney not working", testBank3.withdrawMoney(bank3SimpleNum, 0));

		
		

		
		
		
	}

}
